Platform Explorer / Nuxeo Platform 2021.61

Operation NuxeoDrive.CanMove (Nuxeo Drive: Can move)

Description

Check if the document backing the file system item with the given source id can be moved to the document backing the file system item with the given destination id. Return the result as a JSON blob.
Operation id NuxeoDrive.CanMove
Category Services
Label Nuxeo Drive: Can move
Requires
Since

Parameters

Name Description Type Required Default value
destId Id of the destination file system item. string yes  
srcId Id of the source file system item. string yes  

Signature

Inputs void
Outputs blob

Implementation Information

Implementation Class Class: org.nuxeo.drive.operations.NuxeoDriveCanMove
Contributing Component org.nuxeo.drive.operations.NuxeoDriveGetRootsOperation

JSON Definition

{
  "id" : "NuxeoDrive.CanMove",
  "label" : "Nuxeo Drive: Can move",
  "category" : "Services",
  "requires" : null,
  "description" : "Check if the document backing the file system item with the given source id can be moved to the document backing the file system item with the given destination id. Return the result as a JSON blob.",
  "url" : "NuxeoDrive.CanMove",
  "signature" : [ "void", "blob" ],
  "params" : [ {
    "name" : "destId",
    "description" : "Id of the destination file system item.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "srcId",
    "description" : "Id of the source file system item.",
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}